package com.exrobot.module.rbt.controller.app.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

@Data
public class RobotFileUploadReqVO {

    @Schema(description = "机器人SN", example = "XXX")
    @NotEmpty(message = "机器人SN不能为空")
    private String sn;

    @Schema(description = "文件附件", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "文件附件不能为空")
    private MultipartFile file;

}
